<template>
	<div class="home_block">

		<!-- <div>库房</div> -->

		<div class="block_item" v-on:click="toPutInStorage">

			<svg t="1614939340120" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
				p-id="15518" width="24" height="24">
				<path
					d="M769.896 79C871.574 79 954 161.426 954 263.104v517.792C954 882.574 871.574 965 769.896 965H252.104C150.426 965 68 882.574 68 780.896V263.104C68 161.426 150.426 79 252.104 79h517.792z m-20.712 669.678h-478.67c-16.522 0-29.917 13.394-29.917 29.917 0 16.522 13.395 29.917 29.917 29.917h478.67c16.523 0 29.917-13.395 29.917-29.917 0-16.523-13.394-29.917-29.917-29.917z m-237.033-513.19c-16.523 0-29.917 13.395-29.917 29.917v320.428l-87.941-89.309c-13.358-13.564-35.182-13.733-48.747-0.375-0.126 0.124-0.252 0.25-0.376 0.375-13.626 13.838-13.626 36.05 0 49.887l139.693 141.864c6.678 6.782 15.474 10.215 24.295 10.283h0.311c8.84 0.073 17.697-3.233 24.468-9.902l0.381-0.381L674.011 546.41c13.626-13.838 13.626-36.05 0-49.887-0.124-0.126-0.25-0.251-0.376-0.375-13.43-13.224-34.954-13.191-48.343-0.028l-0.404 0.403-82.821 84.11V265.404c0-16.522-13.394-29.917-29.916-29.917z"
					fill="#333333" p-id="15519"></path>
			</svg>

			<span>入库单</span>

		</div>

		<div class="block_item" v-on:click="toPutOutStorage">

			<svg t="1614939778899" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
				p-id="16362" width="24" height="24">
				<path
					d="M769.896 79C871.574 79 954 161.426 954 263.104v517.792C954 882.574 871.574 965 769.896 965H252.104C150.426 965 68 882.574 68 780.896V263.104C68 161.426 150.426 79 252.104 79h517.792zM512.151 385.073c-9.137 0-17.317 4.095-22.804 10.55-0.75 0.642-1.478 1.32-2.183 2.036L347.471 539.523c-13.625 13.837-13.625 36.048 0 49.886 0.125 0.126 0.25 0.252 0.376 0.376 13.565 13.357 35.39 13.189 48.747-0.376l85.639-86.971v312.978c0 16.522 13.395 29.916 29.918 29.916 16.522 0 29.917-13.394 29.917-29.916l-0.001-312.452 85.123 86.445 0.403 0.403c13.39 13.164 34.914 13.197 48.343-0.027 0.127-0.124 0.252-0.25 0.376-0.376 13.626-13.838 13.626-36.049 0-49.886L536.62 397.659l-0.288-0.288c-5.441-7.455-14.246-12.298-24.181-12.298zM751.486 256.2h-478.67c-16.523 0-29.917 13.394-29.917 29.917 0 16.523 13.394 29.917 29.917 29.917h478.67c16.522 0 29.917-13.394 29.917-29.917 0-16.523-13.395-29.917-29.917-29.917z"
					fill="#333333" p-id="16363"></path>
			</svg>
			<span>出库单</span>

		</div>

		<div class="block_item" v-on:click="toMoveSku">

			<svg t="1614940041880" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
				p-id="18223" width="24" height="24">
				<path
					d="M949.354508 227.835386a162.044719 162.044719 0 0 0-102.397927-76.798444L303.735581 5.887881a168.956579 168.956579 0 0 0-206.587816 118.01361L81.532081 181.500325l564.980559 150.012962H50.812703v525.045368a159.740765 159.740765 0 0 0 49.407 118.01361A163.068698 163.068698 0 0 0 219.513287 1023.979264h563.188595a163.068698 163.068698 0 0 0 119.293585-49.151004 159.740765 159.740765 0 0 0 49.406999-118.01361V412.151654l15.615684-57.598834a159.740765 159.740765 0 0 0-17.663642-126.717434z m-525.557358 665.586522a12.543746 12.543746 0 0 1-3.839922 8.959819 13.055736 13.055736 0 0 1-8.959819 3.583927h-76.798444a12.799741 12.799741 0 0 1-8.959819-3.583927 12.543746 12.543746 0 0 1-3.839922-8.959819V563.188595h-76.798445a12.031756 12.031756 0 0 1-8.959819-3.839922 11.775762 11.775762 0 0 1-3.839922-8.703824 14.33571 14.33571 0 0 1 4.095917-9.471808l127.997408-125.43746a11.263772 11.263772 0 0 1 8.703824-3.583927 11.775762 11.775762 0 0 1 9.215813 3.583927l127.997408 125.693455a12.287751 12.287751 0 0 1 3.583928 9.215813 12.031756 12.031756 0 0 1-3.839922 8.703824 12.031756 12.031756 0 0 1-8.959819 3.839922h-76.798445v331.001298z m340.985095-79.358393l-127.997408 125.43746a12.287751 12.287751 0 0 1-8.703824 3.583928 12.799741 12.799741 0 0 1-9.215813-3.583928l-127.997408-125.693455a12.543746 12.543746 0 0 1-3.583927-9.215813 11.519767 11.519767 0 0 1 3.839922-8.703824 12.031756 12.031756 0 0 1 8.959818-3.839922h76.798445V460.790669a12.031756 12.031756 0 0 1 3.839923-8.959819 11.775762 11.775762 0 0 1 8.959818-3.583927h76.798445a12.031756 12.031756 0 0 1 8.959818 3.583927 12.031756 12.031756 0 0 1 3.839923 8.959819v331.257292h76.798445a12.031756 12.031756 0 0 1 8.959818 3.839922 11.519767 11.519767 0 0 1 3.839922 8.703824 14.591705 14.591705 0 0 1-4.095917 9.471808z"
					p-id="18224"></path>
			</svg>

			<span>移位单</span>

		</div>

		<div class="block_item" v-on:click="toMoveSkuWarehouse">

			<svg t="1619834487221" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
				p-id="7380" width="24" height="24">
				<path
					d="M290.909091 500.363636A34.909091 34.909091 0 0 0 325.818182 535.272727h366.778182a37.236364 37.236364 0 0 0 26.298181-63.534545l-65.861818-65.861818a34.909091 34.909091 0 0 0-49.338182 49.338181l10.24 10.24H325.818182a34.909091 34.909091 0 0 0-34.909091 34.909091z m605.090909 151.272728a34.909091 34.909091 0 0 0 34.909091-34.909091V139.636364a46.545455 46.545455 0 0 0-46.545455-46.545455h-139.636363V46.545455a46.545455 46.545455 0 0 0-46.545455-46.545455H325.818182a46.545455 46.545455 0 0 0-46.545455 46.545455v46.545454H139.636364a46.545455 46.545455 0 0 0-46.545455 46.545455v837.818181a46.545455 46.545455 0 0 0 46.545455 46.545455h744.727272a46.545455 46.545455 0 0 0 46.545455-46.545455v-151.272727a34.909091 34.909091 0 0 0-69.818182 0V954.181818H162.909091V162.909091h116.363636v46.545454a46.545455 46.545455 0 0 0 46.545455 46.545455h372.363636a46.545455 46.545455 0 0 0 46.545455-46.545455V162.909091h116.363636v453.818182a34.909091 34.909091 0 0 0 34.909091 34.909091zM674.909091 186.181818H349.090909V69.818182h325.818182z m58.181818 477.090909A34.909091 34.909091 0 0 0 698.181818 628.363636H331.403636a37.236364 37.236364 0 0 0-26.298181 63.534546l65.861818 65.861818a34.909091 34.909091 0 1 0 49.338182-49.338182l-10.24-10.24H698.181818a34.909091 34.909091 0 0 0 34.909091-34.909091z"
					p-id="7381"></path>
			</svg>

			<span>调拨单</span>

		</div>

		<!-- <div class="block_item">

			<svg t="1614940151330" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
				p-id="20185" width="24" height="24">
				<path d="M637.7 701.7m-96 0a96 96 0 1 0 192 0 96 96 0 1 0-192 0Z" p-id="20186" fill="#2c2c2c"></path>
				<path
					d="M800 96H672v192h192V160c0-35.2-28.8-64-64-64zM640 352c-17.6 0-32-14.4-32-32V96H224c-35.2 0-64 28.8-64 64v704c0 35.2 28.8 64 64 64h576c5.7 0 11.3-0.8 16.5-2.2L726 835.2c-25.3 16.8-55.6 26.5-88.2 26.5-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160c0 32.6-9.8 62.9-26.5 88.2l90.6 90.6c1.4-5.3 2.2-10.8 2.2-16.5V352H640zM415.8 598.6c-5.8 5.8-13.8 9.4-22.6 9.4h-96c-17.6 0-32-14.4-32-32 0-8.8 3.6-16.8 9.4-22.6 5.8-5.8 13.8-9.4 22.6-9.4h96c17.6 0 32 14.4 32 32 0 8.8-3.6 16.8-9.4 22.6z m288-128c-5.8 5.8-13.8 9.4-22.6 9.4h-384c-17.6 0-32-14.4-32-32 0-8.8 3.6-16.8 9.4-22.6 5.8-5.8 13.8-9.4 22.6-9.4h384c17.6 0 32 14.4 32 32 0 8.8-3.6 16.8-9.4 22.6z"
					p-id="20187" fill="#2c2c2c"></path>
			</svg>

			<span>盘点单</span>

		</div>

		<div class="block_item">

			<svg t="1614940211926" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
				p-id="20898" width="24" height="24">
				<path
					d="M321.2 468.1l-22.6 56.3-8.4 21.1 15.4 16.6 51.4 55.5-29.2 30.2-20.8 21.5 17.4 24.3 5.8 8.1-252.3 40.5L41.2 513l280-44.9M345 428L0.1 483.3l48.1 299.9 344.9-55.3-39.6-55.2 52.8-54.6-74.4-80.3 33-82.2L345 428zM553.3 481l426.9 114.4-60.1 224.2L462.7 697l-3.2-15.5 42.7-17.1 31.5-12.6-10.9-32.1-27.8-82.4 47.4-45.8 10.9-10.5m-42.6-48.5l6.8 33.3-63.7 61.6 35.1 103.7-70.5 28.3 13.6 66.5 513.4 137.6 78.6-293.4-513.3-137.6zM234.198 295.21l28.622-29.356 67.949 66.25-28.622 29.356zM533.454 359.228l66.25-67.948 29.356 28.622-66.25 67.948zM411.8 160.8h41v148.8h-41z"
					fill="#303030" p-id="20899"></path>
			</svg>

			<span>报损单</span>

		</div> -->

	</div>
</template>

<script>
	import {
		Toast
	} from 'vant'
	export default {
		name: '',
		components: {},
		props: {},
		data() {
			return {}
		},
		methods: {
			// MoveSkuWarehouse
			toPutInStorage() {
				this.$router.push({
					"name": "Odd",
					query: {
						in_or_out: 'in'
					}
				})
			},
			toPutOutStorage() {
				this.$router.push({
					"name": "Odd",
					query: {
						in_or_out: 'out'
					}
				})
			},
			toMoveSku() {
				this.$router.push({
					"name": "MoveSku"
				})
			},
			
			toMoveSkuWarehouse() {
				// Toast('未完工！！！')
				// return
				this.$router.push({
					"name": "MoveSkuWarehouse"
				})
			},
		},
		computed: {},
		watch: {},
		created() {},
		mounted() {

		},
	}
</script>

<style scoped lang="less">
	.home_block {
		width: 100%;
		margin-bottom: 10px;
		background-color: #f1f1f1;
		padding-bottom: 20px;

	}

	.block_item {
		width: 25%;
		text-align: center;
		display: inline-block;
		margin-top: 10px;


		svg {
			display: block;
			margin: 0 auto;
		}

		span {
			font-size: 10px;
		}
	}
</style>
